package com.bjpowernode.crm.web.controller;

import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 访问首页
 *
 * @author 刘逸晖
 */
@Getter
@Setter
@RequestMapping
public class IndexController {

    /**
     * 跳转到首页
     *
     * @return 首页
     */
    @GetMapping("/")
    public String index() {
        return "index";
    }

}
